package suzf.top.kotlinjava.common.entity;

import java.io.Serializable;

/**
 *  用户表
 *========================
 * Created with IntelliJ IDEA
 * Author: Mr.Su
 * Blog: https://suzf.top/
 * Date: 2019-10-10
 * ========================
 */
class User : Serializable {

    /**
     * id主键
     */
    var id: Int? = null
    /**
     * 用户名
     */
    var username: String? = null
    /**
     * 密码
     */
    var password: String? = null
    /**
     * 角色
     */
    var role: String? = null
    /**
     * 权限
     */
    var permission: String? = null
    /**
     * 可用
     */
    var ban: Int? = null


    override fun toString(): String {
        return "User{" +
        "id=" + id +
        ", username=" + username +
        ", password=" + password +
        ", role=" + role +
        ", permission=" + permission +
        ", ban=" + ban +
        "}"
    }
}
